import request from '@/utils/request'

// 查询超话信息列表
export function listSuperWords(query) {
  return request({
    url: '/kiku/superWords/list',
    method: 'get',
    params: query
  })
}

// 查询超话信息详细
export function getSuperWords(id) {
  return request({
    url: '/kiku/superWords/' + id,
    method: 'get'
  })
}

// 新增超话信息
export function addSuperWords(data) {
  return request({
    url: '/kiku/superWords',
    method: 'post',
    data: data
  })
}

// 修改超话信息
export function updateSuperWords(data) {
  return request({
    url: '/kiku/superWords',
    method: 'put',
    data: data
  })
}

// 删除超话信息
export function delSuperWords(id) {
  return request({
    url: '/kiku/superWords/' + id,
    method: 'delete'
  })
}
